/**
 * elements:
 *      [
 *          xX,xY,xZ,                0
 *          yX,yY,yZ,                3
 *          zX,zY,zZ                 6
 *      ]
 */
export default class BasisTracker {
    constructor(joint) {
        this.joint = joint;
        this.elements=new Float64Array(9);
    }

    get xX (){return this.elements[0];}
    get xY (){return this.elements[1];}
    get xZ (){return this.elements[2];}
    get yX (){return this.elements[3];}
    get yY (){return this.elements[4];}
    get yZ (){return this.elements[5];}
    get zX (){return this.elements[6];}
    get zY (){return this.elements[7];}
    get zZ (){return this.elements[8];}
    set xX (n){this.elements[0]=n;}
    set xY (n){this.elements[1]=n;}
    set xZ (n){this.elements[2]=n;}
    set yX (n){this.elements[3]=n;}
    set yY (n){this.elements[4]=n;}
    set yZ (n){this.elements[5]=n;}
    set zX (n){this.elements[6]=n;}
    set zY (n){this.elements[7]=n;}
    set zZ (n){this.elements[8]=n;}
}